<?php
declare(strict_types=1);

use Phinx\Migration\AbstractMigration;

final class AddColumnCharacterSealInEntityTable extends AbstractMigration
{
    public function up()
    {
        $this->table('entity')
            ->addColumn('character_seal', 'text', ['null' => true, 'comment' => '描述'])
            ->save();
    }

    public function down()
    {
        $this->table('entity')->removeColumn('character_seal')->save();
    }
}
